package com.jintu.portal.pojo.dto;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * Created by junhu on 2017/9/27.
 */
public class TobUserReqDto implements Serializable {
    @NotNull
    @Pattern(regexp = "^(1[345789])\\d{9}$", message = "手机号格式不正确")
    private Long userId;//部门ID
    private Long departmentId;//部门ID
    private Integer status;//1待审核，2在职，3已停用
    private String keyWord;//关键字
    private Integer pageNo;//所传页数
    private Integer pageSize;//每页条数默认为10条
    private String realName;//用户昵称
    private String phoneNo;//手机号
    private String qq;//qq
    private String wx;//微信
    private String birthday;//生日
    private String verifyCode;//验证码
    private String srcPwd;//原密码
    private Integer userInfoType;//用户资料修改类型：1姓名,2手机,3微信,4QQ,5生日
    private Long userDepartmentId;//用户部门岗位Id
    private Integer operType;//用户操作类1停用，2启用，3通过，4拒绝，5离职

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getSrcPwd() {
        return srcPwd;
    }

    public void setSrcPwd(String srcPwd) {
        this.srcPwd = srcPwd;
    }

    public Integer getUserInfoType() {
        return userInfoType;
    }

    public void setUserInfoType(Integer userInfoType) {
        this.userInfoType = userInfoType;
    }

    public Long getUserDepartmentId() {
        return userDepartmentId;
    }

    public void setUserDepartmentId(Long userDepartmentId) {
        this.userDepartmentId = userDepartmentId;
    }

    public Integer getOperType() {
        return operType;
    }

    public void setOperType(Integer operType) {
        this.operType = operType;
    }
}
